2 // ESPurpleQQAccountViewController.m
5 // Created by Evan Schoenberg on 8/7/06.
8 #import "ESPurpleQQAccountViewController.h"
9 #import "ESPurpleQQAccount.h"
11 @implementation ESPurpleQQAccountViewController
12 - (NSString *)nibName{
13 return @"PurpleQQAccountView";
17 - (void)configureForAccount:(AIAccount *)inAccount
19 [super configureForAccount:inAccount];
21 [checkBox_useTCP setState:[[account preferenceForKey:KEY_QQ_USE_TCP
22 group:GROUP_ACCOUNT_STATUS] boolValue]];
23 [checkBox_useTCP setLocalizedString:AILocalizedString(@"Connect using TCP", nil)];
25 [label_connection setLocalizedString:AILocalizedString(@"Connection:", nil)];
29 - (void)saveConfiguration
31 [account setPreference:[NSNumber numberWithBool:[checkBox_useTCP state]]
32 forKey:KEY_QQ_USE_TCP group:GROUP_ACCOUNT_STATUS];
34 [super saveConfiguration];